import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'

import router from '../src/router/index'
import {RouterProvider} from 'react-router-dom'
import zh_CN from 'antd/es/locale/zh_CN';
import { ConfigProvider } from 'antd';


createRoot(document.getElementById('root')!).render(

  <ConfigProvider locale={zh_CN}>
    <StrictMode>
      <RouterProvider router={router}></RouterProvider>
    </StrictMode>
  </ConfigProvider>

)

